package com.woniuxy.core.exception.authenticationException;

public enum AuthenticationExceptionCode {
    TOKEN_INVALID(5002,"Token无效或失效"),
    TOKEN_NOHAVE(5001,"无token");

    private Integer code;

    private String message;

    AuthenticationExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
